package com.pine.dcts.task.dispatcher;
import com.pine.dcts.task.TaskRunner;

/**
 * @author xiaoyuan
 * @create 2021/1/13
 **/
public interface TaskDispatcher {

    void start(TaskRunner taskRunner);

    void suspend(String taskId);

    void stop(String taskId);

    void stopAll();

    void shutdown();
}
